<!-- search area   -->
<div class="row searchLineWrap">
	<form class="form-horizontal" method="post" action="${cxt!}/platform/operator/list" id="searchForm">
		  <div class="row">
		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.operatorName"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="operator.l_name" placeholder="${_res['systemManage.operatorName']}" value="${paramMap['operator.l_name']}"/>
		         </div>
		       </div>
		    </div>

		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.operatorNameen"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="operator.l_nameen" placeholder="${_res['systemManage.operatorNameen']}" value="${paramMap['operator.l_nameen']}"/>
		         </div>
		       </div>
		    </div>	
		</div>   
		<div class="row">     
		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.operatorLink"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="operator.l_url" placeholder="${_res['systemManage.operatorLink']}" value="${paramMap['operator.l_url']}"/>
		         </div>
		       </div>
		    </div>
			
			<div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.menuSystem"]}</label>
		         <div class="col-md-8">
		          	  <#dict type="select" name="operator.f_systemid"  dictCode="SYSTEM_CODE" value="${paramMap['operator.f_systemid']}"/>
		         </div>
		       </div>
		    </div>
		    <div class="col-md-2">
			    <div class="form-group">
			       <button type="button" class="btn btn-primary pull-left" onclick="ajaxForm('content','searchForm')">
			       <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
			    </div>
		   </div>
		  </div>
	  </div>
	</form>
</div>
<!-- search area end  -->
<div class="row searchLineWrap">
	<% if(hasPrivilegeUrl("operatorAdd")){ %>
		<p><a href="javascript:void(0);" onClick="ajaxContent('/platform/operator/add/a');" class="btn btn-primary pull-left">${_res["systemManage.addOperator"]}</a><div class="clearfix"></div></p>
	<% } %>
	<table class="table table-bordered table-hover dataTables-example">
	    <thead>
	        <tr>
	            <th>${_res["systemManage.operatorName"]}</th>
	            <th>${_res["systemManage.operatorNameen"]}</th>
	            <th>${_res["systemManage.operatorCode"]}</th>
	            <th>${_res["systemManage.operatorLink"]}</th>
	            <th>${_res["systemManage.menuSystem"]}</th>
	            <th>${_res["system.operator"]}</th>
	        </tr>
	    </thead>
	    <tbody>
		    <% for(operator in splitPage.list!){ %>
		      <tr >
		            <td>${operator.name!}</td>
		            <td>${operator.nameen!}</td>
		            <td>${operator.code!}</td>
		            <td>${operator.url!}</td>
		            <td><#dict type="lable" value='${operator.systemid!}' dictCode="SYSTEM_CODE"/></td>
		            <td>
		            	<% if(hasPrivilegeUrl("operatorView")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/operator/view/${operator.id!}');">${_res["system.view"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("operatorEdit")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/operator/update/e-${operator.id!}')">${_res["system.edit"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("operatorDelete")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxDelete('/platform/operator/delete/${operator.id!}')">${_res["system.delete"]}</button>
		            	<% } %>
		            </td>
		      </tr>
		     <% } %>
	    </tbody>
	</table>
	<div id="splitPageDiv">
		<#page formId="searchForm"  />
	</div>
	<#nav />
</div>	